/*
 * Copyright (c) 2007-2020 西安交通信息投资营运有限公司 版权所有
 */
//@表示src目录
export default [{
  path: '/login',
  component: '@/pages/sys/login'
}, {
  path: '/',
  component: '@/layouts/AuthLayout',
  routes: [{
    path: '/',
    // component: '@/layouts/BlankLayout',
    component: '@/layouts/BasicLayout',
    routes: [
      {
        path: '/',
        component: '@/pages/home',
      },
      {
        path: '/sys/user',
        component: '@/pages/sys/user',
      },
      {
        path: '/sys/dept',
        component: '@/pages/sys/dept',
      },
      {
        path: '/sys/role',
        component: '@/pages/sys/role',
      },
      {
        path: '/sys/param',
        component: '@/pages/sys/param',
      },
      {
        path: '/sys/dic',
        component: '@/pages/sys/dic',
      },
      {
        path: '/sys/dicCategory',
        component: '@/pages/sys/dicCategory',
      },
      {
        path: '/sys/module',
        component: '@/pages/sys/module',
      },
      {
        path: '/sys/seq',
        component: '@/pages/sys/seq',
      },
      {
        path: '/sys/app',
        component: '@/pages/sys/app',
      },
      {
        path: '/sys/onlineUser',
        component: '@/pages/sys/onlineUser',
      },
      {
        path: '/sys/lockUser',
        component: '@/pages/sys/lockUser',
      },
      {
        path: '/sys/operateLog',
        component: '@/pages/sys/operateLog',
      },
      {
        path: '/sys/historyLog',
        component: '@/pages/sys/historyLog',
      },
      {
        path: '/sys/loginLog',
        component: '@/pages/sys/loginLog',
      },
      {
        path: '/sys/errorLog',
        component: '@/pages/sys/errorLog',
      },
      // {
      //   path: '/sys/jobLog',
      //   component: '@/pages/sys/jobLog',
      // },
      {
        component: './404',
      },
    ],
  }, {
    component: './404',
  }],
},
  {
    component: './404',
  },
]
